package com.bo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName ( "CurOut" )
@Data
public class CurOutDTO implements Serializable {

	private static final long serialVersionUID =  8737873086893580119L;

	// OutMaster表字段
	@TableField(value = "DeliveryName")
	private String deliveryName;

   	@TableField(value = "OverID")
	private Integer overId;

   	@TableField(value = "StationID")
	private Integer stationId;

   	@TableField(value = "EmployeeID")
	private Integer employeeId;

   	@TableField(value = "DeliveryID")
	private Integer deliveryId;

   	@TableField(value = "RecipeID")
	private Integer recipeId;

   	@TableField(value = "Quantity")
	private BigDecimal quantity;

   	@TableField(value = "ItemNo")
	private Integer itemNo;

   	@TableField(value = "RecipeName")
	private String recipeName;


	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
   	@TableField(value = "mDateTime")
	private Date mDateTime;

   	@TableField(value = "DSL")
	private Integer dsl = 0;

   	@TableField(value = "ZSL")
	private Integer zsl = 0;

   	@TableField(value = "XSL")
	private Integer xsl = 0;

   	@TableField(value = "SZ")
	private Integer sz = 0;

   	@TableField(value = "SZ1")
	private Integer sz1 = 0;

   	@TableField(value = "SZ2")
	private Integer sz2 = 0;

   	@TableField(value = "bSlurry")
	private Integer bSlurry = 0;

   	@TableField(value = "bOrderID")
	private Integer bOrderId = 1;

   	@TableField(value = "BatchNo")
	private Integer batchNo = 1;

}
